package com.shop.cloud.model.response;

import java.sql.Timestamp;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.shop.cloud.model.response.RestfulResponse;

import io.swagger.annotations.ApiModelProperty;
import lombok.EqualsAndHashCode;
import lombok.ToString;

/**
 * @author Alex
 */

@ToString(callSuper = true)
@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(value = {"hibernateLazyInitializer", "handler", "fieldHandler"}, ignoreUnknown = true)
public class GetBalanceListResponse {
	
    @JsonProperty("id")
    @ApiModelProperty(value = "id", example = "", required = true)
    private Long id;
    
    @JsonProperty("time")
    @ApiModelProperty(value = "日期时间", example = "", required = true)
    private Timestamp time;
    
    @JsonProperty("type")
    @ApiModelProperty(value = "类型", example = "", required = true)
    private String type;

    @JsonProperty("amount")
    @ApiModelProperty(value = "金额", example = "", required = true)
    private String amount;
    
    @JsonProperty("status")
    @ApiModelProperty(value = "状态", example = "", required = true)
    private String status;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getTime() {
		return time;
	}

	public void setTime(Timestamp time) {
		this.time = time;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getStatus() {
		return status;
	}

	public void setStatus(String status) {
		this.status = status;
	}


}
